#ifndef COLLISION_H_
#define COLLISION_H_

#include <iostream>
#include <cmath>
#include <algorithm>
#include <limits>
class Box
{
private:
	
	
public:
	float x, y;
	float w, h;
	float vx, vy;
	Box(float _x, float _y, float _w, float _h, float _vx, float _vy);
	Box(float _x, float _y, float _w, float _h);
};

class Collision
{
public:
	static bool _AABBCheck(Box b1, Box b2);
	static bool _AABB(Box b1, Box b2, float& moveX, float& moveY);
	static Box _GetSweptBroadphaseBox(Box b);
	static float _SweptAABB(Box b1, Box b2, float &normalx, float &normaly);
	static bool _Response(Box b1, Box b2);
	static bool RectVsRect(Box b1, Box b2);
};

#endif

